Exemple #1
0
 void Start()
 {
     desiredVelocity  = Vector2.zero;
     startingVelocity = Vector2.zero;
     offset           = transform.rotation;
     animator         = GetComponent <TestPlayerAnimator>();
 }
Exemple #2
0
    public GameManager gm;                        //for freezing and unfreezing outlines, also loading next level

    void Start()
    {
        mirrorPoint = playerRoom.position;
        offset      = ghostRoom.position - playerRoom.position;
        animator    = GetComponent <TestPlayerAnimator>();
    }