Friday, July 7, 2017

How To Animate For Unity



hi guys i'm hendra and welcome to this channel in this video we will learn how create cut scene for our android game in unity with the c# language let's begin


How To Animate For Unity, here i'll use handheld.playfullscreenmovie you can see the description in unity documentation note that the player will stream movie directly from the device storage


therefore you have to provide movie as a separate files not a usual asset you will have to create a folder named streamingassets inside your unity project so we have to create streamingasset folder and store our video in this folder we can use .mov .mp4 .mpv .3gp for the extension of our videos and then create new c# script named it cutscene


and attach to any active object and then open the script now i will create new void cutscenevoid and write down the handheld.playfullscreenmovie open bracket and here the string name of our video files in the streamingasset folder you can call cutscenevoid wherever you want but here i will call it inside the


void start just like this but if you play on your android right now you can see the movie player controller for powers for pause or rewind like this to have them add additional parameter here color black and the fullscreenmoviecontrollermode .hidden save and then build your game


okay guys, hope enjoy this video and dont forget comment like and share for this video and subscribe for more video i'm hendra see you soon


No comments:

Post a Comment

Up