Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public interface IBark
- {
- void Bark();
- }
- public class Example : Monobehaviour, IBark {
- // Implementation of IBark
- void Bark()
- {
- GetComponent<BarkScript>().Bark();
- }
- }
Add Comment
Please, Sign In to add comment