예제 #1
0
    void Start()
    {
        var im2 = GameObject.Find("2PInputManager");

        ic2 = im2.GetComponent <InputController2P>();

        var sm = GameObject.Find("ScoreManager");

        sc = sm.GetComponent <ScoreController>();

        people = new List <PersonController>();
    }
예제 #2
0
    // Use this for initialization
    void Start () {
        sr = GetComponent<SpriteRenderer>();

        var im2 = GameObject.Find("2PInputManager");
        ic2 = im2.GetComponent<InputController2P>();
	}