For Loop 키즈멧 노드 만들기
Posted by Go crazy for anything that will make you smile.
상위 링크 : http://udn.epicgames.com/Three/DevelopmentKitGemsKR.html 참조 링크 : http://udn.epicgames.com/Three/DevelopmentKitGemsForLoopKismetNodeKR.html 간단한 for loop문을 만든다. 두개의 참조값이 필요한데 이는 시작값과 마지막 값이다. 즉, 1,9를 주면 1~9까지 원하는 수만큼 더해가며 결과값을 낸다. 기본적인 for문과 비슷하다. 초기식, 조건식, 증감식을 생각하면 될 듯하다. 소스도 무척 간단하다. event Activated() { // iterator 할 범위가 있는지 검사, 루프구간이 없거나 증가시킬필요가 없다면 패스. if(Start == End || Increment