1
This commit is contained in:
24
Src/Bullet/Bullet.cs
Normal file
24
Src/Bullet/Bullet.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit;
|
||||
using Unity.Mathematics;
|
||||
using System.IO;
|
||||
|
||||
namespace BITFALL
|
||||
{
|
||||
public record BulletData
|
||||
{
|
||||
public uint Token;
|
||||
public int Initiator;
|
||||
public float3 Position;
|
||||
public quaternion Rotation;
|
||||
public float3 Forward;
|
||||
public float CreateTime;
|
||||
public int InitialForce;
|
||||
public int StartSpeed;
|
||||
public int MaxDamage;
|
||||
public int InitialDamage;
|
||||
public ulong AddressId;
|
||||
}
|
||||
}
|
11
Src/Bullet/Bullet.cs.meta
Normal file
11
Src/Bullet/Bullet.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48665da91ed0d8240a9829f9ace702e1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
7
Src/Bullet/BulletService.cs
Normal file
7
Src/Bullet/BulletService.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace BITFALL.Bullet
|
||||
{
|
||||
public interface IBulletService
|
||||
{
|
||||
void Spawn(BulletData bulletData);
|
||||
}
|
||||
}
|
11
Src/Bullet/BulletService.cs.meta
Normal file
11
Src/Bullet/BulletService.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94dd252f8020cb148b1c2ac32e2aae71
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
17
Src/Bullet/Project.B.Bullet.asmdef
Normal file
17
Src/Bullet/Project.B.Bullet.asmdef
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "Project.B.Bullet",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
||||
"GUID:d8b63aba1907145bea998dd612889d6b"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": true
|
||||
}
|
7
Src/Bullet/Project.B.Bullet.asmdef.meta
Normal file
7
Src/Bullet/Project.B.Bullet.asmdef.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa168fa3b467b4245bd3ceb2dac420b4
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user