mirror of
https://github.com/celisej567/forest.git
synced 2026-01-02 17:48:39 +03:00
14 lines
261 B
C#
14 lines
261 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class StickSpawner : MonoBehaviour
|
|
{
|
|
public GameObject StickPrefab;
|
|
|
|
public void CreateStick()
|
|
{
|
|
GameObject.Instantiate(StickPrefab, transform);
|
|
}
|
|
}
|