Open rifaterdemsahin opened 5 years ago
Drag to the prefab
set the properties using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement;
public class loadstory : MonoBehaviour {
public string scenetoload;
public int secondstoWait;
IEnumerator Wait()
{
yield return new WaitForSeconds(secondstoWait);
SceneManager.LoadScene(scenetoload);
}
// Use this for initialization
void Start () {
StartCoroutine("Wait");
}
// Update is called once per frame
void Update () {
}
}
Naming and folder location is important https://github.com/rifaterdemsahin/aif/issues/274
Still i have to map when the prefab enters the scene which looks normal
Folder system ( make it ready for in and out ready )
Sample implementation and issues https://drive.google.com/drive/folders/1noPEQkBVe_lFHeEWwGhakkPaLMsFe3Yd?usp=sharing
Our prefab implementation outlines here. In this video and we make sure that the game uses prefab as much as possible. https://drive.google.com/file/d/1KcdHqDqdfXgaVAzj5m-8AKJWb-DvkiUS/view?usp=sharing
Prefab questions in reddit https://www.reddit.com/r/Unity3d_help/comments/9ev78z/focusing_not_to_touch_the_prefabs/
Definition of Done 👍 Be able to get the prefabs from freelancers and implement in your systems.
Loaderscene is used so use it.![image](https://user-images.githubusercontent.com/5270036/44297339-8d713b80-a2c7-11e8-8f3b-7e384e5f35be.png)