Unity/unity Study14 Unity : 케릭터에 아이템 장착시켜서 공격모션 해보기 영상 class UIStudio 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 using System.Collections; using System.Collections.Generic; using System.Run.. 2020. 5. 13. Unity : 버튼으로 아이템 바꾸면서 이펙트 삽입 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class.. 2020. 5. 13. Unity : 공전 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestHero : MonoBehaviour { public GameObject model; public GameObject sphere; private Vector3 heroPosition; // Start is called before the first frame update void Start() { // model.. 2020. 5. 12. Unity : scene변환후 케릭터 생성, 서로 공격하게 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class App : MonoBehaviour { private void Awake() { DontDestroyOnLoad(this.gameObject); } void Start() { SceneManager.sceneLoaded += SceneManager_sceneLoaded; SceneManager.LoadScene("InGame"); } priva.. 2020. 5. 12. 이전 1 2 3 4 다음