Tutorial.pdf
(
3653 KB
)
Pobierz
Javascript or C#
This project contain both of Javascript and C# version
But we recommended to choose one to prevent the problem.
All of the
C#
version are in
“CsharpExample”
Folder
The other outside CsharpExample Folder are
JavaScript
Version
- If you choose
C#
you should use all Objects all Prefabs and
All Example in
“CsharpExample”
Folder
- If you choose
Javascript
version you should
ignore
the
“CsharpExample”
Folder and use all examples outside that folder
How to Spawn Player
We recommend you to use “SpawnPlayer” Script to spawn Player
.
First create Empty GameObject(Or any GameObject) and attach
use “SpawnPlayer” Script from Script folder to it and assign
Your Player’s prefab to the Player Variable.
When you start the game Your Player will spawn at the Spawn
Point. It can work well althought your player come from the other scene.
How to Create Player
After import your character if you use Legacy animation.
Go to “Component / Action-RPG Kit / Create Player(Legacy)”
---------------------------------------------------------------------------------------
If you use Mecanim Animation.
Go to “Component / Action-RPG Kit / Create Player(Mecanim)”
Mark the “Use Mecanim” in
“AttackTrigger”
If you use Mecanim
In “AttackTrigger” component there are some value to set.
Main Model
Attack Point
Attack Prefab
-
-
-
Character’s Main Model use for animation
The attack prefab’s spawn point
Store the prefab from “normal attack”
in this example, we use MeleePrefab (It locate
in Prefab/Skill) which the in fight attack
While Attack
- MeleeFwd = Move forward a little when attack
- Immobile = Can’t move while attacking
- WalkFree = Can walk freely while attacking
-
-
-
-
If you mark on this, the character will freeze
The normal attack’s speed
The normal attack’s delay
The normal attack animation name. Max
Combo depend on Size of Attack Animation
Freeze
Attack Speed
Attack Delay
Attack Combo
Plik z chomika:
jhonsmithuolcombr
Inne pliki z tego folderu:
New Terrain 1.asset
(3805 KB)
New Terrain 3.asset
(2415 KB)
New Terrain 2.asset
(2422 KB)
New Terrain 4.asset
(3796 KB)
Tutorial.pdf
(3653 KB)
Inne foldery tego chomika:
Editor
megacityconstructionkitcollectionver16
Realistic Effects Pack
Standard Assets
Sugiyama
Zgłoś jeśli
naruszono regulamin