Advertisement
AlexRaynor

5.3

Oct 28th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class PlayerInventory : MonoBehaviour
  6. {
  7.     public int coinsCount;
  8.  
  9.     private void Awake()
  10.     {
  11.         Instance = this;
  12.     }
  13.  
  14.  
  15.  
  16.     public static PlayerInventory Instance { get; set; }
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement