Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 *
 *	Adventure Creator
 *	by Chris Burton, 2013-2014
 *	
 *	"Button.cs"
 * 
 *	This script is a container class for interactions
 *	that are linked to Hotspots and NPCs.
 * 
 */

using UnityEngine;
using System.Collections;

namespace AC
{

	[System.Serializable]
	public class Button
	{
		
		public Interaction interaction = null;
		public bool isDisabled = false;
		public int invID = 0;
		public int iconID = -1;

		public PlayerAction playerAction = PlayerAction.DoNothing;

		public bool setProximity = false;
		public float proximity = 1f;
		public bool faceAfter = false;
		public bool isBlocking = false;
		
		public Button ()
		{ }
		
	}

}

Commits for Nextrek/SpaceCrew/SpaceCrew/Assets/AdventureCreator/Scripts/Logic/Button.cs

Diff revisions: vs.
Revision Author Commited Message
83 FMMortaroli picture FMMortaroli Tue 13 May, 2014 11:32:51 +0000