forked from kookmin-sw/cap-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Animcontroller 개선 & Alien에게 Skill할당 (#19)
* Stalker 클래스 추가 * Tag 변경 * Alien 베이스 코드 구현 * 카메라 렌더링을 위한 layer 변경 코드 추가 * 프리팹 수정 * 안쓰는 코드 제거 * Alien Scale 수정 * CreatureType별 카메라 위치 수정 * feat: Animcontroller 개선 & Alien에게 Skill할당
- Loading branch information
1 parent
5fb105f
commit bbb51d5
Showing
17 changed files
with
181 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using Fusion; | ||
|
||
public class BaseItem | ||
public abstract class BaseItem | ||
{ | ||
public Crew Owner { get; set; } | ||
|
||
[Rpc(RpcSources.StateAuthority, RpcTargets.All)] | ||
public virtual void Rpc_Use() | ||
{ | ||
public abstract bool CheckAndUseItem(); | ||
|
||
} | ||
[Rpc(RpcSources.StateAuthority, RpcTargets.All)] | ||
protected abstract void Rpc_Use(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
using Fusion; | ||
|
||
public class BaseSkill | ||
public abstract class BaseSkill | ||
{ | ||
public Alien Owner { get; set; } | ||
|
||
[Rpc(RpcSources.StateAuthority, RpcTargets.All)] | ||
public virtual void Rpc_Use() | ||
{ | ||
public abstract bool CheckAndUseSkill(); | ||
|
||
} | ||
[Rpc(RpcSources.StateAuthority, RpcTargets.All)] | ||
public abstract void Rpc_UseSkill(); | ||
} | ||
|
14 changes: 9 additions & 5 deletions
14
...sets/Scripts/Contents/Skill/AlienSkill.cs → ...ets/Scripts/Contents/Skill/BasicAttack.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.