Пример #1
0
 // Use this for initialization
 void Start()
 {
     flipper.AddListener(this, FCEvent.END);
     faller.AddListener(this, FCEvent.END);
     faller.targetTransform = transform;
     crushChipsMeta         = Meta.CleanupStackForCrushedChips(0);
     if (crushChipsMeta.HasCrushedChips)
     {
         Debug.Log("The stack has [" + crushChipsMeta.crushedChips.Count + "] chips that should be crushed. ");
         StartFalling();
     }
 }