Example #1
0
    private void Awake()
    {
        playerStates.ResetData();           //All data should be restarted before the game starts.

        Offset         = 0.3f;
        spriteRenderer = GetComponentInChildren <SpriteRenderer>();
    }