Created
August 22, 2019 08:08
-
-
Save sasherafat-zz/6bb3265e617f0203bb710f5c60be6cb3 to your computer and use it in GitHub Desktop.
create GameObject in unity project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class SpawnFood : MonoBehaviour { | |
// Food Prefab | |
public GameObject foodPrefab; | |
// Use this for initialization | |
void Start () { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment