일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 3d
- Mac
- 태그를 입력해 주세요.
- texture
- Game
- iphone
- flash builder
- XML
- file
- 단축키
- 게임
- builder
- swf
- class
- unity
- sdk
- ios
- smartfoxserver
- Ane
- 경로
- unity3D
- Flash
- Android
- AS3
- AIR
- Build
- 배열
- 아이튠즈
- 영어
- path
Archives
- Today
- Total
목록인터페이스 (1)
상상 너머 그 무언가...
Unity C# Interface 사용법
점점 복잡해지고 다양해지는 클래스들을 만들게 되다보니 인터페이스의 필요성을 느끼게 되었다. 유니티에서는 인터페이스를 어떻게 사용할까? 인터페이스 선언 public interface ICat{ void EatFish( string FishName ); } 인터페이스를 적용하는 클래스1 using UnityEngine; using System.Collections; public class MyCatTest : MonoBehaviour, ICat { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void EatFish( string FishName ) { Deb..
개발관련(Development)/유니티3D(Unity3D)
2012. 2. 16. 16:54