johnnygoodguy2000

ICollectableBehavior.cs

Dec 25th, 2024
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | Gaming | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public interface ICollectableBehavior
  6. {
  7.    void OnCollected(GameObject player);  // No semicolon after the method body, it's an interface
  8. }
  9.  
Advertisement
Add Comment
Please, Sign In to add comment