Exemple #1
0
    private void Awake()
    {
        mainPos = GameObject.Find("MainPosition").transform;

        hand       = FindObjectOfType <PrimeHand>();
        mano       = FindObjectOfType <ManoVisualization>();
        fadeCanvas = FindObjectOfType <FadeChange>();
        master     = FindObjectOfType <MasterBookCreator>();

        if (instance == null)
        {
            instance = GetComponent <GameManager>();
        }
        else
        {
            Destroy(this);
        }

        camPos = Camera.main.transform.parent.transform;
        //mainPos.position = camPos.position;
    }
 public MoonMode(PrimeHand hand) : base(hand)
 {
     this.hand = hand;
 }