dronkowitz

EggPawnAnimator.cs

May 19th, 2021 (edited)
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class EggPawnAnimator : MonoBehaviour
  6. {
  7.     // Start is called before the first frame update
  8.     void Start()
  9.     {
  10.        
  11.     }
  12.  
  13.     // Update is called once per frame
  14.     void Update()
  15.     {
  16.        
  17.     }
  18.  
  19.     public void DamagePlayer()
  20.     {
  21.         GetComponentInParent<EggPawn>().DamagePlayer();
  22.     }
  23. }
  24.  
Add Comment
Please, Sign In to add comment