Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public static class SpawnGameObject
  4. {
  5. public static GameObject SpawnGo(GameObject go, Transform parent)
  6. {
  7. return GameObject.Instantiate(go, parent);
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement