-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SharedVector2 SharedVector2Int SharedVector3Int
- Loading branch information
Showing
8 changed files
with
129 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
using System.Runtime.CompilerServices; | ||
[assembly: InternalsVisibleTo("Kurisu.AkiBT.Editor")] | ||
[assembly: InternalsVisibleTo("Kurisu.AkiBT.DSL")] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using UnityEngine; | ||
namespace Kurisu.AkiBT | ||
{ | ||
[Serializable] | ||
public class SharedVector2 : SharedVariable<Vector2> | ||
{ | ||
public SharedVector2(Vector2 value) | ||
{ | ||
this.value = value; | ||
} | ||
public SharedVector2() | ||
{ | ||
|
||
} | ||
protected override SharedVariable<Vector2> CloneT() | ||
{ | ||
return new SharedVector2() { Value = value }; | ||
} | ||
} | ||
[Serializable] | ||
public class SharedVector2Int : SharedVariable<Vector2Int> | ||
{ | ||
public SharedVector2Int(Vector2Int value) | ||
{ | ||
this.value = value; | ||
} | ||
public SharedVector2Int() | ||
{ | ||
|
||
} | ||
protected override SharedVariable<Vector2Int> CloneT() | ||
{ | ||
return new SharedVector2Int() { Value = value }; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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