This commit is contained in:
CortexCore
2025-03-24 14:42:29 +08:00
parent ff7afe4133
commit 5fceb6f885
16 changed files with 153 additions and 16 deletions

15
Src/Mark/MarkComponent.cs Normal file
View File

@@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.WorldNode;
using Unity.Mathematics;
namespace Net.Project.B.Mark
{
public interface IMarkType{}
public interface IMarkComponent
{
public float3 Position { get; }
public IMarkType MarkType { get; }
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: af35735b7dd800949af5b77101747c68
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

15
Src/Mark/MarkService.cs Normal file
View File

@@ -0,0 +1,15 @@
using System;
using System.Collections;
using System.Collections.Generic;
namespace Net.Project.B.Mark
{
public interface IMarkService
{
void Mark(int id);
void CancelMark(int id);
public event Action<int, bool> OnMark;
IReadOnlyCollection<int> InMarking { get; }
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ef2352c99ad2cc54f812c176edd6d0ec
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,18 @@
{
"name": "Net.Project.B.Mark",
"rootNamespace": "",
"references": [
"GUID:d8b63aba1907145bea998dd612889d6b",
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
"GUID:d750d221812bb1d48baff92e6ef73e28"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 154bc389e50c7da499c9b0c8d3a1a1b8
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: