Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VAUnity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institute of Technical Acoustics (ITA)
VAUnity
Commits
e4aeaa11
Commit
e4aeaa11
authored
8 years ago
by
Maurice Tayeb Andreas
Browse files
Options
Downloads
Patches
Plain Diff
part of adding AddSearchPath
parent
16695271
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
VACS.cs
+9
-3
9 additions, 3 deletions
VACS.cs
VAUAdapter.cs
+1
-1
1 addition, 1 deletion
VAUAdapter.cs
with
10 additions
and
4 deletions
VACS.cs
+
9
−
3
View file @
e4aeaa11
...
@@ -258,6 +258,11 @@ namespace VA
...
@@ -258,6 +258,11 @@ namespace VA
{
{
NativeSetOutputMuted
(
_NetClient
,
bMuted
);
NativeSetOutputMuted
(
_NetClient
,
bMuted
);
}
}
public
bool
AddSearchPath
(
string
SearchPath
)
{
return
NativeAddSearchPath
(
_NetClient
,
SearchPath
);
}
/*
/*
* Native imported functions from C++ unmanaged library declared private, so they can not be accessed
* Native imported functions from C++ unmanaged library declared private, so they can not be accessed
* directly through C# class method
* directly through C# class method
...
@@ -274,6 +279,7 @@ namespace VA
...
@@ -274,6 +279,7 @@ namespace VA
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeInitialize
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeInitialize
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeFinalize
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeFinalize
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeReset
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
void
NativeReset
(
IntPtr
pClient
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
bool
NativeAddSearchPath
(
IntPtr
pClient
,
string
sSearchPath
);
//[ DllImport( "VANetCSWrapper" ) ] private static extern void NativeEnumerateModules( IntPtr pClient, std::vector<CVAModuleInfo>& viModuleInfos );
//[ DllImport( "VANetCSWrapper" ) ] private static extern void NativeEnumerateModules( IntPtr pClient, std::vector<CVAModuleInfo>& viModuleInfos );
//[ DllImport( "VANetCSWrapper" ) ] private static extern void NativeCallModule( IntPtr pClient, char pcModuleID, const CVAStruct& oArgs, CVAStruct& oReturn );
//[ DllImport( "VANetCSWrapper" ) ] private static extern void NativeCallModule( IntPtr pClient, char pcModuleID, const CVAStruct& oArgs, CVAStruct& oReturn );
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
int
NativeLoadDirectivity
(
IntPtr
pClient
,
string
sFileName
,
string
sName
);
[
DllImport
(
"VANetCSWrapper"
)
]
private
static
extern
int
NativeLoadDirectivity
(
IntPtr
pClient
,
string
sFileName
,
string
sName
);
...
...
This diff is collapsed.
Click to expand it.
VAUAdapter.cs
+
1
−
1
View file @
e4aeaa11
...
@@ -75,7 +75,7 @@ public class VAUAdapter : MonoBehaviour {
...
@@ -75,7 +75,7 @@ public class VAUAdapter : MonoBehaviour {
_VA
=
new
VANet
();
_VA
=
new
VANet
();
Init
();
Init
();
DeactivateUnitySound
();
DeactivateUnitySound
();
_VA
.
AddSearchPath
;
_VA
.
AddSearchPath
(
Application
.
dataPath
+
"/.."
)
;
}
}
void
OnEnable
()
void
OnEnable
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment