public void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         if (Instance != this)
         {
             Destroy(this);
         }
     }
 }
 private void Start()
 {
     objectPooler = objectpooler.Instance; // Grabbing the object pooler to use in spawning
 }
 void Awake()
 {
     SharedInstance = this;
 }