示例#1
0
 override public void Start()
 {
     base.Start();
     this.Type = "D";
     loot      = transform.Find("canvas/loot").GetComponent <Text>();
     ampersand = GameObject.Find("/players/ampersand").GetComponent <AmpersandController>();
 }
示例#2
0
    override public void Start()
    {
        base.Start();
        this.Type = "D";

        ampersand   = GameObject.Find("/players/ampersand").GetComponent <AmpersandController>();
        otherPlayer = ampersand;
    }
示例#3
0
 // Use this for initialization
 void Awake()
 {
     ampersand         = GameObject.Find("/players/ampersand").GetComponent <AmpersandController>();
     star              = GameObject.Find("/players/star").GetComponent <StarController>();
     pointerTool       = GameObject.Find("/pointerTool").GetComponent <Tool>();
     valueTool         = GameObject.Find("/valueTool").GetComponent <Tool>();
     incrementTool     = GameObject.Find("/incrementTool").GetComponent <Tool>();
     offsetTool        = GameObject.Find("/offsetTool").GetComponent <Tool>();
     freeTool          = GameObject.Find("/freeTool").GetComponent <Tool>();
     mallocTool        = GameObject.Find("/mallocTool").GetComponent <Tool>();
     levelController   = gameObject.GetComponent <LevelController>();
     consoleController = GameObject.Find("HUD/Console").GetComponent <ConsoleController>();
     tools             = new ArrayList();
 }